﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XmlDSigEx
{
    class EnvelopedTransformProvider:ITransformProvider
    {
        public bool CanHandle(string uri)
        {
            return uri == EnvelopedSignatureTransform.URI_ENVELOPED_SIGNATURE_TRANSFORM;
        }

        public ITransform GetTransform(System.Xml.XmlDocument documentContext)
        {
            return new EnvelopedSignatureTransform(documentContext);
        }
    }
}
